#! /usr/bin/python
# -*- coding: utf-8 -*-
from CDAL import DCredential
from CRouter import *

class Huawei(Router):
  def setDefaultCredentials(self):
#    super().setDefaultCredentials()
    credential=DCredential()
    credential.user="hola"
    credential.passwd="adios"
    self.defaultCredentials.append(credential)

  def setDefaultUrl(self):
    self.url="/index/login.cgi"
    self.urlUserText="Username"
    self.urlPasswdText="Password"
    self.urlBadText="Username error."
  
